<template>
	<view class="index">
		<view class="index">
			<view class="msg">
				<view class="tit">
					<view class="txt">
						第一度假村
					</view>
					<view class="money">
						￥1080/每晚
					</view>
				</view>
				<view class="address">
					<view class="">
						朝阳区,北京
					</view>
					<view class="addr">
						<view class="image" style="width: 38rpx;height: 38rpx;">
							<image  class="img" src="../../static/wnelv/md-room.svg" mode=""></image>
						</view>
						<view class="">
							距离2km
						</view>
					</view>
				</view>
				<!-- 星星组件 -->
				<view class="star">
					<view class="row">
							<image src="../../static/wnelv/xxx.png" mode=""></image>
							<image src="../../static/wnelv/xxx.png" mode=""></image>
							<image src="../../static/wnelv/xxx.png" mode=""></image>
							<image src="../../static/wnelv/xxx.png" mode=""></image>
							<image src="../../static/wnelv/xx.png" mode=""></image>
					</view>
					<view class="text">
						80条评论
					</view>
				</view>
				<view class="reserve" @click="router()">
					立即预定
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			router(){
				uni.navigateTo({
					url:'../order/order'
				})
			}
		}
	}
</script>

<style lang="scss">
	.index {
		width: 780rpx;
		height: 1622rpx;
		background: url(../../static/wnelv/beijin.png) no-repeat;
		background-size: cover;
		position: relative;
		
		.msg{
			width: 700rpx;
			height: 368rpx;
			padding: 30rpx 30rpx;
			border-radius: 20px;
			background-color: #000000ad;
			color: #FFFFFF;
			position: absolute;
			bottom: 500rpx;
			left: 30rpx;
			
			.tit{
				display: flex;
				justify-content: space-between;
				font-size: 44rpx;
				font-weight: 600;
				.money{
						font-size: 30rpx;
						line-height:50rpx;
				}
			}
			.address{
				color: #FFFFFF;
				display: flex;
				.addr{
					margin-left: 40rpx;
					display: flex;
					.image{
						width:25rpx;
						height: 30rpx;
						margin: auto 0;
						margin-right: 10rpx;
					}
				}
			
			}
			.star{
				display: flex;
				color: #FFFFFF;
				font-size: 28rpx;
				margin-top: 15rpx;
					
				.row{
					display: flex;
					image{
					width: 30rpx;
					height: 30rpx;
					margin-right: 10rpx;
					}
				}
							
				.text{
					margin-left: 10rpx;
				}
			}
			.reserve{
				width: 316px;
				height: 46px;
				line-height: 20px;
				border-radius: 30px;
				background-color: rgba(19, 194, 194, 100);
				color: rgba(255, 255, 255, 100);
				font-size: 14px;
				text-align: center;
				font-family: Arial;
				margin-top: 32rpx;
				line-height: 92rpx;
			}
		}
	}
	
</style>
